package com.pactera.madp.cp.api.feign;

import com.pactera.madp.common.core.constant.SecurityConstants;
import com.pactera.madp.common.core.constant.ServiceNameConstants;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestHeader;

@FeignClient(contextId = "remoteDataDailyService", value = ServiceNameConstants.CP_SERVICE)
public interface RemoteDataDailyService {
    @GetMapping("/daily/generate")
    void generate(@RequestHeader(SecurityConstants.FROM) String from);

}
